package MyFile;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

public class demo4 {
    public static void main(String[] args) throws IOException {
        InputStream inputStream = new FileInputStream("D:\\software\\code\\2023_java\\2023_java_code\\code_24_4_18\\src\\Text.text");
        byte[] bytes = inputStream.readAllBytes();
        String s = new String(bytes);
        System.out.println(s);
        inputStream.close();
    }
}
